package com.mjh.mapper;

import com.mjh.annotaion.DataScope;
import com.mjh.bean.Tran;
import com.mjh.model.BaseQuery;
import com.mjh.vo.CustomerVo;
import com.mjh.vo.TranVo;

import java.util.List;

/**
* @author ma
* @description 针对表【t_tran(交易表)】的数据库操作Mapper
* @createDate 2025-02-18 15:20:11
* @Entity com.mjh.bean.Tran
*/
public interface TranMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Tran record);

    int insertSelective(Tran record);

    Tran selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tran record);

    int updateByPrimaryKey(Tran record);

    @DataScope(tableAlias = "t4",tableField = "id")
    List<CustomerVo> selectList(BaseQuery baseQuery);


}
